import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useUserStore = defineStore(
	'token',
	() => {
		//记录用户的登录状态
		const token = ref('')
		const userId = ref('')
		return { token, userId }
	},
	{ unistorage: true }
)
